<?php $this->load->library('encrypt'); ?>
<!DOCTYPE html>
<html lang="es">
<head>
	<meta charset="utf-8" />
	<title>UNRN<?php if (!empty($title))echo ' - '.$title;?></title>
	<?php if (!empty($keywords))echo "<meta name=\"keywords\" content=\"".$keywords."\" />"?>
	<?php if (!empty($description))echo "<meta name=\"description\" content=\"".$description."\" />"?>
	<link type="image/x-icon" href="<?php echo base_url();?>resources/img/favicon.ico" rel="shortcut icon" />
	<link rel="stylesheet" href="<?php echo base_url();?>resources/css/base.css" />

	<!--<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
	<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
	<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
	<!-- Fancybox -->
	<!--<link rel="stylesheet" href="<?php /* echo base_url();*/?>css/jquery.fancybox-1.3.4.css" type="text/css" media="screen">
	<script type="text/javascript" src="js/jquery.fancybox-1.3.4.pack.js"></script>
	<script type="text/javascript" src="js/functions.js"></script>
	<!-- ENDS Fancybox -->
</head>
<body>
	<!-- HEADER -->
	<header id="header">
		<!-- wrapper-header -->
		<div class="wrapper">
			<!-- search -->
			<div class="top-search">
				<form method="post" id="buscarForm" action="#">
					<fieldset form="buscarForm">
						<label for="buscar">
							<input type="text" placeholder="Buscar..." id="buscar" name="buscar" onfocus="//defaultInput(this)" onblur="//clearInput(this)" />
						</label>
						<input type="submit" id="searchSubmit" value=">">
					</fieldset>
				</form>
			</div>
			<!-- ENDS search -->
		</div>
		<!-- ENDS wrapper-header -->
	</header>
	<!-- ENDS HEADER -->

	<!-- Menu -->
	<nav id="menu">
		<!-- ENDS menu-holder -->
		<div id="menu-holder">
			<!-- wrapper-menu -->
			<div class="wrapper">
				<!-- Navigation -->
				<ul class="sf-menu sf-js-enabled sf-shadow">
					<li class="lvl1"><a href="<?php echo base_url()?>">Home<span class="subheader">Bienvenido</span></a></li>
					<li class="lvl1"><a href="<?php echo site_url("")?>">Calendario<span class="subheader">Eventos</span></a></li>
					<li class="lvl1"><a href="<?php echo base_url();?>puntosController">Puntos de interés<span class="subheader">Ubicaciones</span></a></li>
					<?php if(!$this->session->userdata('ingresado')){?>
						<li class="lvl1"><a href="<?php echo site_url("usuario/logout");?>">Login <span class="subheader">Registrase</span></a></li>
					<?php } ?>
					<?php if($this->session->userdata('ingresado')){?><li class="lvl1"><a><span>Panel de control</span></a>
						<ul>
							<li><a href="">Modificar perfil</a></li>
							<li><a href="<?php echo site_url("usuario/logout");?>">Cerrar sesión</a></li>
						</ul>
					</li><?php } ?>
				</ul>
				<!-- Navigation -->
			</div>
			<!-- wrapper-menu -->
		</div>
		<!-- ENDS menu-holder -->
	</nav>
	<!-- ENDS Menu -->
</body>
</html>